package com.antdesignbackend.backend.form.investors.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 零星散户产地检疫申报单
 *
 * @author 林宇杰
 * @email investors
 * @date 2020-08-13 10:28:19
 */

@Data
@TableName(value = "t_investors")
public class Investors implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//申报人
	@TableField(value = "Declarant")
	private String declarant;
	//身份证号
	@TableField(value = "IdCard")
	private String idCard;
	//申报人联系电话
	@TableField(value = "Dphone")
	private String dphone;
	//养殖户所在乡镇
	@TableField(value = "Address")
	private String address;
	//具体地址
	@TableField(value = "SpecificAddress")
	private String specificAddress;
	//销售去向所在省
	@TableField(value = "ToProvince")
	private String toProvince;
	//销售去向所在市
	@TableField(value = "ToCity")
	private String toCity;
	//销售去向所在区县
	@TableField(value = "ToDistrict")
	private String toDistrict;
	//销售去向
	@TableField(value = "SaleAddress")
	private String saleAddress;
	//具体地点
	@TableField(value = "ToSpecificAddress")
	private String toSpecificAddress;
	//购买人
	@TableField(value = "Buyer")
	private String buyer;
	//购买人联系电话
	@TableField(value = "BuyPhone")
	private String buyPhone;
	//动物种类
	@TableField(value = "Animal")
	private String animal;
	//数量
	@TableField(value = "Number")
	private String number;
	//耳标号从(猪)1350481、(禽)SM
	@TableField(value = "MarkStart")
	private String markStart;
	//至(猪)1350481、(禽)SM
	@TableField(value = "MarkEnd")
	private String markEnd;
	//用途
	@TableField(value = "Purpose")
	private String purpose;
	//当前地点
	@TableField(value = "NowPlace")
	private String nowPlace;
	//动物产地检疫申报基本信息报告表照片
	@TableField(value = "Photo")
	private String photo;
	//备注
	@TableField(value = "Remark")
	private String remark;
	//状态，0未通过，1通过，2审批中，3驳回
	@TableField(value = "Types")
	private Integer types;
	//创建人
	@TableField(value = "CreateBy")
	private Integer createBy;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@TableField(value = "CreateTime")
	private Date createTime;
	//企业ID
	@TableField(value = "Eid")
	private Integer eid;
	//巡查人员签字
	@TableField(value = "InspectionPerson")
	private String inspectionPerson;
	//被巡查人员签字
	@TableField(value = "ToInspectionPerson")
	private String toInspectionPerson;
}
